package com.kinglone.quartzTest;

import org.springframework.stereotype.Component;  

@Component("myBean")  
public class MyBean {  
   
    public void printMessage() {  
        System.out.println("我的myBean. I am called by MethodInvokingJobDetailFactoryBean using SimpleTriggerFactoryBean");  
    }  
       
}  
